runtime.p.deferpool (field)
24 uses
runtime (current package)
panic.go#L354: if len(pp.deferpool) == 0 && sched.deferpool != nil {
panic.go#L356: for len(pp.deferpool) < cap(pp.deferpool)/2 && sched.deferpool != nil {
panic.go#L360: pp.deferpool = append(pp.deferpool, d)
panic.go#L364: if n := len(pp.deferpool); n > 0 {
panic.go#L365: d = pp.deferpool[n-1]
panic.go#L366: pp.deferpool[n-1] = nil
panic.go#L367: pp.deferpool = pp.deferpool[:n-1]
panic.go#L405: if len(pp.deferpool) == cap(pp.deferpool) {
panic.go#L408: for len(pp.deferpool) > cap(pp.deferpool)/2 {
panic.go#L409: n := len(pp.deferpool)
panic.go#L410: d := pp.deferpool[n-1]
panic.go#L411: pp.deferpool[n-1] = nil
panic.go#L412: pp.deferpool = pp.deferpool[:n-1]
panic.go#L428: pp.deferpool = append(pp.deferpool, d)
proc.go#L5056: pp.deferpool = pp.deferpoolbuf[:0]
proc.go#L5137: pp.deferpool = pp.deferpoolbuf[:0]
runtime2.go#L633: deferpool []*_defer // pool of available defer structs (see panic.go)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |